package com.mmd.manage.dao;

import com.mmd.common.entity.MmdRouteHscode;
import com.mmd.common.mapper.MmdHscodeMapper;
import com.mmd.manage.vo.RouteHscodeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RouteHscodeDao extends MmdHscodeMapper {
    int insertRouteHscode(MmdRouteHscode routeHscode);

    int deleteRouteHscode(@Param("routeNo") String routeNo);

    MmdRouteHscode getRouteHscode(@Param("routeNo") String routeNo, @Param("hscode") String hscode);

    List<RouteHscodeVo> getRouteHscodeVo(@Param("routeNo") String routeNo);

    List<MmdRouteHscode> selectListByHsCode(@Param("routeNo") String routeNo, @Param("hscodes") List<String> hscodes);
}
